package com.ruoyi.supplier.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 出入库记录对象 stock_record
 *
 * @author ruoyi
 * @date 2023-09-18
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("stock_record")
public class StockRecord extends BaseEntity {

    private static final long serialVersionUID=1L;

    /**
     * 编号
     */
    @TableId(value = "stock_record_id",type = IdType.AUTO)
    private Integer stockRecordId;
    /**
     * 仓库id
     */
    private Integer stockId;
    /**
     * sku编号
     */
    private Integer productSkuId;
    /**
     * 类型（10入库 20出库）
     */
    private Integer type;
    /**
     * 数量
     */
    private Integer shouldNum;
    /**
     * 当前库存数量
     */
    private Integer stockNum;

}
